package Lecel_five;

public class Animal {
    private int legs;
    private int age;

    void eat(){}

    public Animal(int legs, int age) {
        this.legs = legs;
        this.age = age;
    }

    public int getLegs() {
        return legs;
    }

    public void setLegs(int legs) {
        this.legs = legs;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
